package com.zone.module_base.fragment

import com.zone.core.base.BaseBindingViewModelFragment
import com.zone.module_base.BaseApp
import com.zone.module_base.R
import com.zone.module_base.databinding.FragmentTestImageBinding
import com.zone.module_base.databinding.FragmentTestVideoBinding
import com.zone.module_base.viewmodel.TestFunctionViewModel

class TestImageFragment :
    BaseBindingViewModelFragment<FragmentTestImageBinding, TestFunctionViewModel>() {
    override fun inject() {
        BaseApp.appComponent.inject(this)
    }

    override fun onEvent(eventId: Int) {
        super.onEvent(eventId)

    }

    override fun initDataBinding(binding: FragmentTestImageBinding) {
        super.initDataBinding(binding)

        binding.ivImage.setImageDrawable(this.resources.getDrawable(R.drawable.image_1))
    }
}